const env = import.meta.env.mode || 'development'

const EnvConfig = {
      development: {
            baseApi: '/api',
            mockApi: 'https://www.fastmock.site/mock/feca0fb09590ab883a89fe296838996b/api'
      },
      test: {
            baseApi: '//test.future.com/api',
            mockApi: 'https://www.fastmock.site/mock/feca0fb09590ab883a89fe296838996b/api'
      },
      prod: {
            baseApi: '//future.com/api',
            mockApi: 'https://www.fastmock.site/mock/feca0fb09590ab883a89fe296838996b/api'
      }
}

export default {
      env,
      mock: true,
      ...EnvConfig[env]
}